package com.yanqu.road.entity.wingroom;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2022/2/24 11:09
 */
public class UserFurnitureSuitData extends DataObject {
    private long userId;
    private int suitType;
    private int suitLv;

    public UserFurnitureSuitData() {
    }

    public UserFurnitureSuitData(long userId, int suitType, int suitLv, short option) {
        this.userId = userId;
        this.suitType = suitType;
        this.suitLv = suitLv;
        setOp(option);
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSuitType() {
        return suitType;
    }

    public void setSuitType(int suitType) {
        this.suitType = suitType;
    }

    public int getSuitLv() {
        return suitLv;
    }

    public void setSuitLv(int suitLv) {
        if (this.suitLv != suitLv) {
            this.suitLv = suitLv;
            setUpdateOption();
        }
    }
}
